package org.news.web.constant;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

/**
 * 通知常量类
 */
public final class NotificationConstant {

    /**
     * 默认是否已读状态
     */
    public static final Integer  DF_ISREAD = 0;
    public static final Long XT_STATUS = 1l;


    /**
     * 通知状态
     */
    private static final List<CategoriesStatus> NO_STATUS = new ArrayList<CategoriesStatus>(
        Arrays.asList(
            new CategoriesStatus("通知",0,"primary"),
            new CategoriesStatus("系统",1,"success")
        )
    );


    /**
     * 是否已读
     */
    private static final List<CategoriesStatus> READ_STATUS = new ArrayList<CategoriesStatus>(
        Arrays.asList(
            new CategoriesStatus("未读",0,"info"),
            new CategoriesStatus("已读",1,"success")
        )
    );

    public static List<CategoriesStatus> NoStatus() {
        return NO_STATUS;
    }

    public static List<CategoriesStatus> ReadStatus() {
        return READ_STATUS;
    }
}
